package com.yang.news.exception;


import com.yang.news.model.result.CommonErrorCode;

public class BusinessException extends BaseException {

    public BusinessException(CommonErrorCode errorCodeEnum) {
        super(errorCodeEnum);
    }

    public BusinessException(CommonErrorCode errorCodeEnum, String message) {
        super(errorCodeEnum, message);
    }

    public BusinessException(CommonErrorCode code, String errorMessage, Throwable cause) {
        super(code, errorMessage, cause);
    }

}
